﻿using System.ComponentModel.DataAnnotations;

namespace FYSJcrm.Core.Web.Areas.SystemManage.Models.NavManageModels
{
    public class NavManageAddModel
    {
        /// <summary>
        /// 栏目父级Id
        /// </summary>
        [Required]
        public int ParentId { get; set; }

        /// <summary>
        /// 栏目名称
        /// </summary>
        [Required]
        public string Title { get; set; }

        /// <summary>
        /// 栏目别名
        /// </summary>
        [Required]
        public string Name { get; set; }

        /// <summary>
        /// 栏目图标
        /// </summary>
        public string IconUrl { get; set; } = "";

        /// <summary>
        /// 链接地址
        /// </summary>
        public string LinkUrl { get; set; }

        /// <summary>
        /// 操作类型
        /// </summary>
        public string[] ActionTypes { get; set; }

        /// <summary>
        /// 排序数字
        /// </summary>
        [Required]
        public int SortId { get; set; }

        /// <summary>
        /// 是否锁定
        /// </summary>
        [Required]
        public int IsLock { get; set; }
    }
}